package Entity;

/**
 *
 * @author CONG
 */
public class LoanType {
    private int loanTypeCode;
    private String name;
    private String decsription;
    private float interestRate;
    private boolean status;

    public LoanType() {
    }

    public LoanType(int loanTypeCode, String Name, String Description, float interestRate, boolean status) {
        this.loanTypeCode = loanTypeCode;
        this.name = Name;
        this.decsription = Description;
        this.interestRate = interestRate;
        this.status = status;
    }
     public LoanType( String Name, String Description, float interestRate, boolean status) {
        this.name = Name;
        this.decsription = Description;
        this.interestRate = interestRate;
        this.status = status;
    }

    public String getDescription() {
        return decsription;
    }

    public void setDescription(String Description) {
        this.decsription = Description;
    }

    public String getName() {
        return name;
    }

    public void setName(String Name) {
        this.name = Name;
    }

    public float getInterestRate() {
        return interestRate;
    }

    public void setInterestRate(float interestRate) {
        this.interestRate = interestRate;
    }

    public int getLoanTypeCode() {
        return loanTypeCode;
    }

    public void setLoanTypeCode(int loanTypeCode) {
        this.loanTypeCode = loanTypeCode;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }
    
}
